package org.jlambda.list;

import java.util.Iterator;


abstract public class List<T> implements Iterable<T> {

	ListDeclaration<T> decl;
	
	public List(ListDeclaration<T> de){
		decl = de;
	}
	abstract public Iterator<T> iterator();

	public ListDeclaration<T> getDecl(){
		return decl;
	}
	
	public boolean isMemoized(){
		return false;
	}
}
